import axios from 'axios';
import {API_NEW_VERSION, ALL_SERVICE_API} from '../api';

export const statistics = params => {
  return axios.get(API_NEW_VERSION + 'order_profit_logs_statistics', {params: params});
};

export const getAllTruckLoadOrderProfitLogs = (params) => {
  return axios.get(ALL_SERVICE_API + '/truck-load-order-profit-logs/vo', {params: params});
};

export const getTruckLoadOrderProfitLogsStatics = (params) => {
  return axios.get(ALL_SERVICE_API + '/truck-load-order-profit-logs-statics', {params: params});
};
